public class Test {
    public static void main(String[] args) {
        MyLinkedList myLinkedList =new MyLinkedList();
        myLinkedList.addAtHead(1);
        myLinkedList.addAtTail(2);
        myLinkedList.addAtTail(3);
        myLinkedList.addAtTail(4);
        myLinkedList.deleteAtIndex(1);
        myLinkedList.DisplayList();
    }
}
